package com.itheima.nosql.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("sku")
public class Sku {
    @Transient
    private Long id;
    private String type;
    private String logo;
    private Long pid;
    
}
